#pragma once
#include <iostream>
#include <Windows.h>
#include <tlhelp32.h>

namespace XiaoWeiHelpSDK
{

	public delegate void CallBack(System::String^ s);
	public ref class XiaoWeiHelper
	{
	public:
		static HANDLE powerHandle = NULL;
		static bool IsCoveredByOthers(CallBack^ cb);
		static void RecoverPower(CallBack^ cb);
		static void MaintainPower(CallBack^ cb);
		static bool IsCoveredByLockWindow(CallBack^ cb);
		static void MinimizeApp(CallBack^ cb);
		static bool IsMinimized();
	};
}
